package com.hmdp.service;

import com.hmdp.dto.Result;
import com.hmdp.entity.VoucherOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
*@Author: X_x
*@Date: 2024-08-27-11-45
*@Description:  * @param null
*@return:
*@tags: 梦想和爱 健康和学习
*/
public interface IVoucherOrderService extends IService<VoucherOrder> {
    /**
     * 秒杀劵抢购
     */

    Result seckillVoucher(Long voucherId);

    //实现一人一单
    void createVoucherOrder(VoucherOrder voucherOrder);
}
